package com.wen.proxyPattern;

/**
 * 测试代理方法模式
 */
public class TestProxyPattern {
    public static void main(String[] args) {
        Subject realSubject = new RealSubject();
        Proxy proxy = new Proxy(realSubject);
        proxy.doSomething();
    }
}
